package rabbit.flt.plugins.springmvc.plugin;


import rabbit.flt.plugins.common.ControllerPathHelper;
import rabbit.flt.plugins.common.plugin.ConstructorPlugin;

import java.lang.reflect.Method;

/**
 * path解析插件
 */
public class PathResolvePlugin extends ConstructorPlugin {

    @Override
    public Object after(Object target, Method method, Object[] args, Object result) {
        ControllerPathHelper.loadControllerPath(target.getClass());
        return result;
    }

}
